//接口的封装
const baseUrl="http://meituan.thexxdd.cn/api/"
export let onPerfer = (url) => {
	return new Promise((resolve,reject) => {
		uni.request({
			url:baseUrl+url,
			method: "GET",
		}).then((res) => {
			resolve(res[1].data)
		}).catch((err) => {
			reject(err)
		})
	})
}
